home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / basic / ace_final.lha / ACE_GPL_Release / include / SUBmods / RunProg.h < prev    next >
Encoding:
Text File  |  1996-08-29  |  679 b   |  20 lines

  1. {*
  2. ** External subprogram declaration for the library module RunProg.o, 
  3. ** which allows a program to be executed with control over stack size
  4. ** and retrieval of AmigaDOS return code. RunProg returns -1 if an
  5. ** error has occurred when attempting to execute the program.
  6. **
  7. ** Requires version 36 or higher of the OS (Wb 2.x/3.x).
  8. **
  9. ** See also ace.doc, "Creating & using ACE subprogram modules".
  10. **
  11. ** This file should reside in ACEinclude: so that #include <RunProg.h>
  12. ** can be used in programs linked with RunProg.o.
  13. **  
  14. ** Author: David J Benn
  15. **   Date: 5th March 1995
  16. *}
  17.  
  18. DECLARE SUB LONGINT RunProg(STRING theProg, STRING theArgs, ~
  19.                 LONGINT stackSize) EXTERNAL
  20.